const express = require('express');
const app = express();

app.use(express.static(__dirname + '/static'));

app.get('/abc', (req, res) => {
    res.send('abc');
})

app.post('/abc', (req, res) => {
    res.send('abc');
})

app.listen(8081, () => {
    console.log('服务器启动成功');
})